package recoverUtil

import (
	"github.com/sirupsen/logrus"
	"runtime/debug"
)

// Abnormal 异常
func Abnormal() {
	if err := recover(); err != nil {
		logrus.Infoln("goroutine panic")
		logrus.Error("panic, stack信息:", string(debug.Stack()))
	}
}
